<template>
	<view>
		<u-navbar :autoBack="true" leftIconSize="40rpx"  title="下载记录" :placeholder="true" bgColor="#fff" :titleStyle="{ fontSize: '30rpx' , fontWeight: 'bold'}"></u-navbar>
		<view class="contentBox">
			<view class="itemBox">
				<text class="createTime">
					<text>*</text>
					创建时间:2025年01月23日 13:02:49
				</text>
				<text class="type">明细类型：订单/积分/退款/应收款</text>
				<text class="email">接收邮箱：122613542@qq.com</text>
				<view class="buttonBox">
					<button class="send">再次发送</button>
					<button class="remove">删除记录</button>
				</view>
			</view>
		</view>
		<view class="createBox">
			<button @click="goCreateDownload">创建</button>
		</view>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				
			}
		},
		methods:{
			/**创建下载**/
			goCreateDownload(){
				this.$Router.push({
					path: '/pages/merchant/financialData/createDownload'
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.contentBox{
		width: 100%;
		height: auto;
		float: left;
		.itemBox{
			width: 100%;
			height: 270rpx;
			background-color: #fff;
			float: left;
			margin-top: 20rpx;
			.createTime{
				width: calc(100% - 60rpx);
				float: left;
				height: 30rpx;
				line-height: 30rpx;
				font-size: 24rpx;
				margin:15rpx 30rpx 10rpx 30rpx;
				color:rgb(165,165,165);
				text{
					color: red;
					margin-right: 8rpx;
				}
			}
			.type,.email{
				width: calc(100% - 60rpx);
				float: left;
				margin-left: 30rpx;
				height: 45rpx;
				line-height: 45rpx;
				font-size: 30rpx;
				color: rgb(60, 60, 60);
			}
			.buttonBox{
				width: calc(100% - 60rpx);
				float: left;
				margin-left: 30rpx;
				height: 95rpx;
				margin-top: 15rpx;
				border-top: 1rpx solid #f5f5f5;
				.remove,.send{
					width: calc(50% - 15rpx);
					height: 75rpx;
					margin-top: 17rpx;
					font-size: 32rpx;
					color: #fff;
					line-height: 75rpx;
				}
				.remove::after,.send::after{
					border-width: 0rpx;
				}
				.send{
					float: left;
					background-color: #ffc000;
				}
				.remove{
					float: right;
					background-color: rgb(236,92,87);
				}
			}
		}
		.itemBox:last-child{
			margin-bottom: 165rpx;
		}
	}
	.createBox{
		width: 100%;
		height: 145rpx;
		background-color: #FFF;
		position: fixed;
		bottom: 0;
		box-shadow: 0rpx 0rpx 15rpx rgba(0,0,0,0.05);
		button{
			width:calc(100% - 60rpx);
			height: 85rpx;
			line-height: 85rpx;
			font-size: 34rpx;
			color: #fff;
			font-weight: bold;
			background-color: #ffc000;
			margin-top: 15rpx;
		}
		button::after{
			border-width: 0rpx;
		}
	}
</style>